<?php

	//JACKED Manager 
	//updater functions file
	
	require_once('jacked_configVars.php');
	require_once('jacked_functions.php');
    require('jacked_configupdater.php');
	
	//gets an array of all the installed modules where shortName => (string)version 
	function jackedUpdaterGetModuleVersions(){
		$mods = jackedDBGetResult(JACKED_MOD_TABLE, '1');
		$versions = array();
		while($row = mysql_fetch_array($mods)){
			$versions[$row['shortName']] = $row['version'];
		}
		
		return $versions;
	}
	
	
?>